/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.jrpm.rnetze.pakete;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Naas
 */
public class Packet implements Serializable {
    
 private List<String> ipAdressen;
 private long delayTime=1000;
 private int uebertragungen;

    public Packet(List<String> ipAdressen,long delay) {
        this.ipAdressen = ipAdressen;
        this.uebertragungen = 0;
        this.delayTime = delay;
    }

    public Packet() {
    }
 
 
    
 

    public long getDelayTime() {
        return delayTime;
    }

    public List<String> getIpAdressen() {
        return ipAdressen;
    }

    public int getUebertragungen() {
        return uebertragungen;
    }
 
    public void increaseUebertragungen(){
        uebertragungen++;
    }

    public void setDelayTime(long delayTime) {
        this.delayTime = delayTime;
    }
 
}
